package com.ruoyi.manage.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 员工对象 sys_staff
 * 
 * @author cf
 * @date 2025-05-28
 */
public class Staff extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 员工id */
    private Long id;

    /** 员工编码 */
    @Excel(name = "员工编码")
    private String empCode;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String empName;

    /** 工作时学历 */
    @Excel(name = "工作时学历")
    private String degree;

    /** 性别：0男，1女，默认男 */
    @Excel(name = "性别：0男，1女，默认男")
    private Integer gender;

    /** 员工家庭住址 */
    @Excel(name = "员工家庭住址")
    private String address;

    /** 员工密码 */
    @Excel(name = "员工密码")
    private String empPwd;

    /** 员工头像 */
    @Excel(name = "员工头像")
    private String avatar;

    /** 民族 */
    @Excel(name = "民族")
    private String ethnic;

    /** 工种职名 */
    @Excel(name = "工种职名")
    private String jobTitle;

    /** 毕业院校 */
    @Excel(name = "毕业院校")
    private String graduateSchool;

    /** 专业名称 */
    @Excel(name = "专业名称")
    private String professionalName;

    /** 员工生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "员工生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 员工电话 */
    @Excel(name = "员工电话")
    private String telePhone;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 员工状态：0离职，1在职，2禁用 */
    @Excel(name = "员工状态：0离职，1在职，2禁用")
    private Long empStatus;

    /** 逻辑删除：0未删除，1删除 */
    @Excel(name = "逻辑删除：0未删除，1删除")
    private Integer isDeleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEmpCode(String empCode) 
    {
        this.empCode = empCode;
    }

    public String getEmpCode() 
    {
        return empCode;
    }
    public void setEmpName(String empName) 
    {
        this.empName = empName;
    }

    public String getEmpName() 
    {
        return empName;
    }
    public void setDegree(String degree) 
    {
        this.degree = degree;
    }

    public String getDegree() 
    {
        return degree;
    }
    public void setGender(Integer gender) 
    {
        this.gender = gender;
    }

    public Integer getGender() 
    {
        return gender;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setEmpPwd(String empPwd) 
    {
        this.empPwd = empPwd;
    }

    public String getEmpPwd() 
    {
        return empPwd;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }
    public void setEthnic(String ethnic) 
    {
        this.ethnic = ethnic;
    }

    public String getEthnic() 
    {
        return ethnic;
    }
    public void setJobTitle(String jobTitle) 
    {
        this.jobTitle = jobTitle;
    }

    public String getJobTitle() 
    {
        return jobTitle;
    }
    public void setGraduateSchool(String graduateSchool) 
    {
        this.graduateSchool = graduateSchool;
    }

    public String getGraduateSchool() 
    {
        return graduateSchool;
    }
    public void setProfessionalName(String professionalName) 
    {
        this.professionalName = professionalName;
    }

    public String getProfessionalName() 
    {
        return professionalName;
    }
    public void setBirthday(Date birthday) 
    {
        this.birthday = birthday;
    }

    public Date getBirthday() 
    {
        return birthday;
    }
    public void setTelePhone(String telePhone) 
    {
        this.telePhone = telePhone;
    }

    public String getTelePhone() 
    {
        return telePhone;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setEmpStatus(Long empStatus) 
    {
        this.empStatus = empStatus;
    }

    public Long getEmpStatus() 
    {
        return empStatus;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("empCode", getEmpCode())
            .append("empName", getEmpName())
            .append("degree", getDegree())
            .append("gender", getGender())
            .append("address", getAddress())
            .append("empPwd", getEmpPwd())
            .append("avatar", getAvatar())
            .append("ethnic", getEthnic())
            .append("jobTitle", getJobTitle())
            .append("graduateSchool", getGraduateSchool())
            .append("professionalName", getProfessionalName())
            .append("birthday", getBirthday())
            .append("telePhone", getTelePhone())
            .append("remark", getRemark())
            .append("deptId", getDeptId())
            .append("empStatus", getEmpStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
